package jp.ne.hatena.d.digitalsoul.warikan.pages

import org.apache.wicket.markup.html._
import org.apache.wicket.markup.html.basic._
import org.apache.wicket.markup.html.form._
import org.apache.wicket.model._

class Top extends WebPage {
	
	var name=""
    add(new Label("message", "Hello World!"))
    val form = new Form("form")
    add(form)
    form.add(new TextField("name", new PropertyModel[Top](this, "name")))
    form.add(new Label("yourName", new PropertyModel(this, "name")))
}